#pragma once
#include "IPacket.h"
#include "Xps/Object/ObjectFactory.h"

namespace Xps
{
    class DataPacket :
        public IPacket
    {
    public:
        typedef boost::shared_ptr<DataPacket> Ptr;

        DataPacket(void);
        virtual ~DataPacket(void);

        virtual void setPayload( const IObject::Ptr _Payload );

        virtual const IObject::Ptr getPayload() const;

    private:        
        IObject::Ptr payload;
    };
};
